package code;

public class CodeError {
    public static Integer SUCCESS = 80200;

    //内部异常
    public static Integer INTERNAL_EXCEPTION = 80500;
    //未登录
    public static Integer NOT_LOGIN = 80401;
    //无权限
    public static Integer NO_PERMISSION = 80403;


    //请重新获取验证码
    public static Integer GET_CODE_AGAIN = 80300;
    //验证码错误
    public static Integer CODE_ERROR = 80301;
    //用户名不存在
    public static Integer USER_NOT_FOUND = 80302;
    //密码错误
    public static Integer PASSWORD_ERROR = 80303;

    //入住列表为空
    public static Integer CHECKIN_LIST_NULL = 80601;
    //入住登记失败
    public static Integer CHECKIN_FAIL = 80602;
    //入住登记失败
    public static Integer CHECKIN_MOD_FAIL = 80603;
    //退房列表为空
    public static Integer CHECKOUT_LIST_NULL = 80604;
    //退房登记失败
    public static Integer CHECKOUT_FAIL = 80605;
    //退房登记修改失败
    public static Integer CHECKOUT_MOD_FAIL = 80606;

    //该邮箱已被注册使用
    public static Integer EMAIL_ALREADY_EXISTS = 80701;
    //邮件已经发送，请尽快验证
    public static Integer ENMAIL_HASEBENN_SEND = 80702;
    //验证码错误，请重新输入
    public static Integer EMAIL_CODE_ERROR = 80703;
    //请先获取验证码
    public static Integer ENMAIL_CODE_GET_ERROR = 80704;
    //密码重置失败
    public static Integer PASSWORD_RESET_FAIL = 80705;


    //楼层列表为空
    public static Integer FLOOR_LIST_NULL = 80801;
    //邮件已经发送，请尽快验证
    public static Integer FlOOR_NUMBER_ALREADY = 80802;

    //预定失败，该时间段已有人预定
    public static Integer BOOKING_FAIL = 80901;
    //订单生成失败
    public static Integer ORDER_CREATE_FAIL = 80902;
    //订单生成失败
    public static Integer ORDER_LIST_NULL = 80903;
    //订单修改失败
    public static Integer ORDER_MOD_FAIL = 80904;
    //订单时间有误
    public static Integer ORDER_TIME_ERROR = 80905;

    //盈利查询结果为空
    public static Integer PROFIT_LIST_NULL = 81001;

    //没有找到房间列表
    public static Integer ROOM_LIST_NULL = 81101;
    //房间详情获取失败
    public static Integer ROOM_VIEW_FAIL = 81102;
    //该房间号已经存在
    public static Integer ROOM_NUMBER_ALREADY = 81103;
    //房间添加失败
    public static Integer ROOM_SAVE_FAIL = 81104;
    //房间信息修改失败
    public static Integer ROOM_MOD_FAIL = 81105;
    //房间信息删除失败
    public static Integer ROOM_REMOVE_FAIL = 81106;

    //没有找到房间类型列表
    public static Integer ROOM_TYPE_LIST_NULL = 81301;
    //房间类型添加失败
    public static Integer ROOM_TYPE_SAVE_FAIL = 81302;
    //房间类型删除失败
    public static Integer ROOM_TYPE_REMOVE_FAIL = 81303;
    //房间类型信息修改失败
    public static Integer ROOM_TYPE_MOD_FAIL = 81304;

    //权限list为空
    public static Integer POWER_LIST_NULL = 81501;
    //新增权限失败
    public static Integer POWER_SAVE_FAIL = 81502;
    //角色list为空
    public static Integer ROLE_LIST_NULL = 81503;
    //获取失败
    public static Integer GET_FAIL = 81504;
    //没有找到相应的用户信息
    public static Integer USER_VIEW_NULL = 81505;
    //没有找到用户列表
    public static Integer USER_LIST_NULL = 81506;
    //该用户名已经存在
    public static Integer USERNAME_ALREADY = 81507;
    //该电话号码已经绑定了账号
    public static Integer USER_PHONE_ALREADY = 81508;
    //该电子邮箱已被使用
    public static Integer USER_EMAIL_ALREADY = 81509;
    //新增操作失败
    public static Integer USER_INSERT_FAIL = 81510;
    //修改操作失败
    public static Integer USER_MOD_FAIL = 81511;
    //删除操作失败
    public static Integer USER_REMOVE_FAIL = 81512;
    //该电子邮箱还未注册账号
    public static Integer USER_EMAIL_NO_REGIS = 81513;

}
